<html><head><title>EditorGadget3D</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">EditorGadget3D()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>EditorGadget3D</b></font>(#Gadget3D, x, y, Width, Height [, Flags])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Creates an editor gadget in the current GadgetList. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget3D</i></td>
<td width="90%"> 
A number to identify the new 3D gadget. <a href="../reference/purebasic_objects.html">#PB_Any</a> can 
be used to auto-generate this number. 

</td></tr>
<tr><td><i>x, y, Width, Height</i></td>
<td> 
The position and dimensions of the new gadget. 

</td></tr>
<tr><td><i>Flags (optional)</i></td>
<td> 
It can be one of the following value: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Editor3D_ReadOnly</font>: The user cannot edit the text in the gadget.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Nonzero on success, zero otherwise. If <font color="#924B72">#PB_Any</font> was used as the #Gadget3D parameter 
then the return-value is the auto-generated gadget number on success. 

</blockquote><p><b>Remarks</b></p><blockquote>

To add a 'mini help' to this gadget, use <a href="gadgettooltip3d.html">GadgetToolTip3D()</a>. <br>
<br>
The following functions can be used to act on the editor content: <br>
<br>
- <a href="getgadgettext3d.html">GetGadgetText3D()</a>: Get the text content of the editor gadget. <br>
- <a href="setgadgettext3d.html">SetGadgetText3D()</a>: Change the text content of the editor gadget. <br>
- <a href="setgadgetattribute3d.html">SetGadgetAttribute3D()</a>: With the following attribute: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Editor3D_ReadOnly</font>: Set the read-only state. (0 means editable, nonzero means read-only)
</font></pre>
- <a href="getgadgetattribute3d.html">GetGadgetAttribute3D()</a>: With the following attribute: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Editor3D_ReadOnly</font>: Get the read-only state. (0 means editable, nonzero means read-only)
</font></pre>

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=disablegadget3d.html>DisableGadget3D()</a> - <a href="index.html">Gadget3D Index</a> - <a href="framegadget3d.html">FrameGadget3D()</a> -><br><br>

</body></html>